@@ -98,6 +98,8 @@ def maintenance_update(request):  | 
            ||
| 98 | 98 | 
                     name = request.POST.get('name', '')
               | 
            
| 99 | 99 | 
                     phone = request.POST.get('phone', '')
               | 
            
| 100 | 100 | 
                     address = request.POST.get('address', '')
               | 
            
| 101 | 
                +    model_id = request.POST.get('model_id', '')
               | 
            |
| 102 | 
                +    log_id = request.POST.get('log_id', '')
               | 
            |
| 101 | 103 | 
                     sn = request.POST.get('sn', '')
               | 
            
| 102 | 104 | 
                     desc = request.POST.get('desc', '')
               | 
            
| 103 | 105 | 
                     point_id = request.POST.get('point_id', '')
               | 
            
                @@ -130,6 +132,10 @@ def maintenance_update(request):  | 
            ||
| 130 | 132 | 
                maintenance.phone = phone  | 
            
| 131 | 133 | 
                if address:  | 
            
| 132 | 134 | 
                maintenance.address = address  | 
            
| 135 | 
                + if log_id:  | 
            |
| 136 | 
                + maintenance.log_id = log_id  | 
            |
| 137 | 
                + if model_id:  | 
            |
| 138 | 
                + maintenance.model_id = model_id  | 
            |
| 133 | 139 | 
                if sn:  | 
            
| 134 | 140 | 
                maintenance.sn = sn  | 
            
| 135 | 141 | 
                if desc:  |